package com.lyf.scm.admin.domain.service;

import com.lyf.scm.admin.api.dto.PlanResponseDTO;
import com.lyf.scm.admin.api.dto.DirectlyExecuteInfoDTO;
import com.lyf.scm.admin.api.dto.DirectlyExecuteDTO;
import com.lyf.scm.common.model.ExcelExportDTO;
import feign.Response;

import java.util.List;

/**
 * description:
 *          直营预测计划--执行
 * @author: haodong
 * @data: 2020/8/5 13:31
 */
public interface DirectlyExecuteService {

    /**
     * 按条件查询直营预测计划(天)
     * @param salesPlanDirectlyExecute
     * @return
     */
    PlanResponseDTO<List<DirectlyExecuteInfoDTO>> listBySelective(DirectlyExecuteDTO salesPlanDirectlyExecute);

    /**
     * 查询全渠道直营预测计划(天)
     * @param salesPlanDirectlyExecute
     * @return
     */
    PlanResponseDTO<DirectlyExecuteInfoDTO> listAllByDays(DirectlyExecuteDTO salesPlanDirectlyExecute);

    /**
     * 导出Excel
     * @param excelExportDTO
     * @param type
     * @return
     */
    Response exportExcel(ExcelExportDTO excelExportDTO, Integer type);
}
